<?php
/**
* @Copyright: ©TS-Frame-Tiny-Speed
* @description: 抽象门面模式 解耦
* @param  Trait
* @return Function
* @author: TS
* @Date: 2021-06-21 14:24:16
*/
namespace Utils;

trait Facade {
  public static function __callStatic($method, $args)
  {
    $class = static::Facade;
    return $class::getInstance()->$method(...$args);//trait单例
  }

}
